<template>
  <div>
    <el-form label-width="100px">
      <el-row>
        <el-col :span="8">
          <el-form-item label="标题">
            <el-input v-model="editData.title"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="描述">
            <el-input v-model="editData.account"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="8">
          <el-form-item label="地址">
            <el-input v-model="editData.address"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="8">
          <el-form-item label="价格">
            <el-input v-model="editData.price"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="手机号">
            <el-input v-model="editData.phone"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="上次审核备注">
            <el-input v-model="editData.remark"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="上次审核状态">
            <el-input v-model="editData.statusText"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-form-item label="轮播图">
          <el-image style="width: 150px;height: 150px;margin-right: 10px;margin-bottom: 10px" fit="cover" :src="item" v-for="item in editData.swiperImages"></el-image>
        </el-form-item>
      </el-row>
      <el-row>
        <el-form-item label="简介">
          <el-image style="width: 150px;height: 150px;margin-right: 10px;margin-bottom: 10px" fit="cover" :src="item" v-for="item in editData.introductions"></el-image>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  name: "FairDetail",
  props: {
    editData: {
      type: Object,
      default: null
    },
  },
  data() {
    return {

    }
  },
  mounted() {

  },
  methods: {
    close() {
      this.$emit('hideEditDialog')
    },
  }
}
</script>
